package com.stu.service;


import com.stu.pojo.Cart;
import com.stu.pojo.Pro;
import com.stu.pojo.Product;

import java.util.List;

public interface IProductService {
    public Product getById(Integer proId);
    public List<Product> getHotProduct();
    public List<Product> getListByCart(List<Cart> cartList);
    public List<Product> getAll();
    int addProduct(Product product, Integer userId);
    int deleteProduct(Integer proId);  //删除商品
}
